summaryrefslogtreecommitdiff
path: root/src/pages/[locale]/furthsettins/scotsoun
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-13 20:41:29 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-13 20:41:29 +0100
commit7781c69153e3956ca14684fe9a287fbbb8a01082 (patch)
tree6bf18977ee93608aead54dc2322c0d42c2284f78 /src/pages/[locale]/furthsettins/scotsoun
parent71eac2d383c9918645e99b6b845fb8f4faecf346 (diff)
Determines current locale with lib function
Diffstat (limited to 'src/pages/[locale]/furthsettins/scotsoun')
-rw-r--r--src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro4
-rw-r--r--src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro2
-rw-r--r--src/pages/[locale]/furthsettins/scotsoun/index.astro4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro
index 5b5dc82..a641561 100644
--- a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro
+++ b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro
@@ -22,6 +22,6 @@ const t = translate(locale);
const scotsoun = await getScotsoun[scotsounId]();
---
-<Page locale={locale} title={t(tPage, { key: 'title' })}>
- <Scotsoun scotsoun={scotsoun} locale={locale} />
+<Page title={t(tPage, { key: 'title' })}>
+ <Scotsoun scotsoun={scotsoun} />
</Page>
diff --git a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro
index 49f1bf7..16bbdd8 100644
--- a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro
+++ b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro
@@ -19,7 +19,7 @@ const scotsounId = Astro.params.scotsounId as ScotsounId;
const t = translate(locale);
---
-<Page locale={locale} title={t(tPage, { key: 'title' })}>
+<Page title={t(tPage, { key: 'title' })}>
<section>
<h1>{t(tPage, { key: 'title' })}</h1>
<p>{t(tPage, { key: 'payment-confirmation-message', scotsounId })}</p>
diff --git a/src/pages/[locale]/furthsettins/scotsoun/index.astro b/src/pages/[locale]/furthsettins/scotsoun/index.astro
index feb86a3..ed9490c 100644
--- a/src/pages/[locale]/furthsettins/scotsoun/index.astro
+++ b/src/pages/[locale]/furthsettins/scotsoun/index.astro
@@ -14,9 +14,9 @@ const locale = Astro.params.locale as Locale;
const t = translate(locale);
---
-<Page locale={locale} title={t(tPage, { key: 'title' })}>
+<Page title={t(tPage, { key: 'title' })}>
<section class="section--full-width">
<h1>Scotsoun</h1>
- <ScotsounCdGallery locale={locale} />
+ <ScotsounCdGallery />
</section>
</Page>